<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
	<head>
		<title>异常读卡器列表</title>
		<link href="/SCMDB/style/main.css" rel="stylesheet" type="text/css" />
		<script type="text/javascript" src="/SCMDB/js/Super.js"></script>
		<script type="text/javascript" src="/SCMDB/js/msg.js"></script>
		<%@ include file="../commonPage/message.jsp"%>
	</head>
	<body>
		<h2>
			读卡器故障历史列表
		</h2>
		<s:form action="monitorAlarmAction!findAlarmByType" method="post" name = "fm" theme="simple">
			<div class="main">

				<table border="0" cellpadding="1" cellspacing="1" class="tableList">
					<thead>
						<tr>
							<th class="number">
								<s:property value='%{getText("alrm_th1")}' />
							</th>
							<th>
								读卡器编号
							</th>
							<th>
								读卡器名称
							</th>
							<th>
								故障开始时间
							</th>
							<th>
								故障结束时间
							</th>
							<th>
								持续时间
							</th>
						</tr>
					</thead>
					<tbody>
						<s:iterator id="reader" value="#request.readerList" status="u">
							<tr style="background:red">
								<td class="number">
									${entity.index+u.index}
								</td>

								<td>
									${reader.lrmID}
								</td>

								<td>
									${reader.lrmName}
								</td>

								<td>
									<s:property value="#reader.startTime.toString('yyyy-MM-dd HH:mm:ss')"/>
								</td>

								<td>
									<s:property value="#reader.endTime.toString('yyyy-MM-dd HH:mm:ss')"/>
								</td>

								<td>
									<s:property value="#reader.continueTime"/>
								</td>
							</tr>
						</s:iterator>
					</tbody>
				</table>
			</div>
		</s:form>
	</body>
</html>

